package db.domain;

import sf.database.jdbc.sql.IdentifierGenerator;
import sf.database.meta.ColumnMapping;

import java.sql.Connection;

public class AtCustomKey implements IdentifierGenerator {
    @Override
    public Object generate(Connection conn, ColumnMapping columnMapping) {
        return ((Number) (Math.random() * 100000)).longValue();
    }
}
